$small-width : 'screen and (max-width:640px)';

body {
  font-size: 0.6em;
}

html,body{
  font-family: 'Arial', sans-serif;
  font-family: $font-text, sans-serif;
}

a{
  color:inherit;
  text-decoration: none;
}

button{
  appearance: none;
  background: transparent;
  border-radius: 0;
  border: none;
  outline: none;
  padding: 0;
}

// wrapper

#wrapper{
  padding: 40px;
  position: relative;
  width:100%;
  box-sizing: border-box;
  @media #{$small-width}{
    padding: 60px 30px;
  }
}

#main{
  width:100%;
  position: relative;
}

.h-scroll{
  overflow-x: scroll;
  width:100%;
  &.mCustomScrollbar{
    overflow-x: inherit;
  }
  //border-bottom: solid 1px #999;
}

//
// SLIDE IMAGE
//

.slider-images {
  padding: 20px 0 20px;
  width:20000px;
  &, li, a, img {
    display: block;
    float: left;
  }
  li {
    padding-left: 20px;
    &:first-child {
      padding-left: 0;
    }
    position: relative;
  }
  .row, .cell, .description, .hover {
    width: 100%;
    height: 100%;
  }
  .description {
    display: table;
    text-transform: uppercase;
    font-size: 1.1em;
    line-height: 1.5em;

  }
  h4{
    font-family: $font-text-bold;
  }
  .row {
    display: table-row;
  }
  .cell {
    vertical-align: middle;
    display: table-cell;
  }
  a{
    position: relative;
  }
  .hover {
    position: absolute;
    text-align: center;
    display: block;
    background: rgba(255, 255, 255, .8);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    left: 0;
  }
  a:hover, a:active {
    .hover {
      opacity: 1;
      visibility: visible;
    }
  }
}

//
// block centred
//

.block-centred {

  width: 540px;
  max-width:100%;
  position: relative;
  left: 0;
  right: 0;
  margin: auto;

}

//
// content agency
//

.content-agency{

  padding-top:30px;

  h2,h3,p{
    margin: 0 0 1em;
  }

  h2{
    font-family: $font-text-bold;
    font-size: 2.4em;
    line-height: 1.1777em;
  }

  h3{
    font-family: $font-text-bold;
  }

  h3,p{
    font-size:1.1em;
    line-height: 1.32em;
  }

  img{
    margin-top: 2em;
    max-width: 100%;
    height:auto;
  }

}